#include <ros/ros.h>
#include "find_camera_id.hpp"

int main(int argc, char **argv)
{
    ros::init(argc, argv, "find_usb_camera");
    ros::NodeHandle nh("~");
    
    std::string m_camera_port;
    std::string m_search_type;
    std::string m_search_str;

    
    nh.param<std::string>("search_type", m_search_type, " ");
    nh.param<std::string>("search_str", m_search_str, " ");
    nh.param<std::string>("camera_port", m_camera_port, " ");
    get_video_id(m_search_type, m_search_str, m_camera_port);
    std::cout << "video port is " << m_camera_port << std::endl;

    return 0;
}